package cn.tedu.autoshow.website.pojo.param;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
public class UserUpdateInfoParam implements Serializable {
    private static final long serialVersionUID = 1L;

    @NotNull(message = "密码不能为空")
    @ApiModelProperty(value = "密码", required = true, example = "p@ssw0rd")
    private  String password;

    @ApiModelProperty(value = "昵称", example = "闫校源")
    private  String nickname;

    @ApiModelProperty(value = "性别", example = "男/女")
    private  String gender;

    @ApiModelProperty(value = "年龄", example = "10")
    private  Integer age;


}










